
count_false=0
user_info = {"Fublp": "123456", "user1": "abcde", "user2": "1qw23e"}

while True:
    if count_false == 3:
        print("Exceeded retry attempts")
        break
    user_input = input("User_name: ")
    if not user_input:
        continue
    else:
        password_input = input("Password: ")
        if user_input in user_info.keys():
            if user_info[user_input] == password_input:
                print("Login success,welcome!")
                break
            else:
                print("Password incorrect!")
                count_false += 1
                continue
        else:
            print("User does not exist!")
            count_false += 1
            continue
